package com.happy.film.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wei.zhang
 * @since 2020-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_film_search")
public class FilmSearch implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 用户id
     */
    @TableId("id")
    private Long id;

    /**
     * 用户名
     */
    @TableField("user_id")
    private String userId;

    @TableField("ip")
    private String ip;

    @TableField("search_content")
    private String searchContent;

    @TableField("search_type")
    private String searchType;

    @TableField("custom1")
    private String custom1;

    @TableField("custom2")
    private String custom2;

    @TableField("custom3")
    private String custom3;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;


}
